package org.hilo.game.pages;

import org.apache.tapestry5.annotations.InjectPage;
import org.apache.tapestry5.annotations.Persist;
import org.apache.tapestry5.annotations.Property;

public class GameOver {
	

	
	@Persist
	@Property
	private int count;
	
	Object initialize(int count){

		this.count=count;
		return this;
		
	}
	
	@InjectPage
	private Index index;
	
	Object OnActionFromIn2(){
		
		return index.onActionFromIn2("hallo");
	}
	
	

	@InjectPage
	private Guess guess;
	
	Object onAction(){
	
		return guess.initialize(9);
	}
	
}
